﻿using MvcArchStarter.Domain;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;

namespace MvcArchStarter.Infrastructure.Persistence
{
    public class MvcArchStarterContext : DbContext
    {
        public MvcArchStarterContext() { }
        public MvcArchStarterContext(string connectionString)
            :base(connectionString) { }

        public IDbSet<Blog> Blogs { get; set; }
        public IDbSet<Post> Posts { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }

        
    }
}
